package com.dianping.cat.consumer.transaction.model.transform;

import com.dianping.cat.consumer.transaction.model.IVisitor;
import com.dianping.cat.consumer.transaction.model.entity.AllDuration;
import com.dianping.cat.consumer.transaction.model.entity.Duration;
import com.dianping.cat.consumer.transaction.model.entity.Graph;
import com.dianping.cat.consumer.transaction.model.entity.Graph2;
import com.dianping.cat.consumer.transaction.model.entity.GraphTrend;
import com.dianping.cat.consumer.transaction.model.entity.Machine;
import com.dianping.cat.consumer.transaction.model.entity.Range;
import com.dianping.cat.consumer.transaction.model.entity.Range2;
import com.dianping.cat.consumer.transaction.model.entity.StatusCode;
import com.dianping.cat.consumer.transaction.model.entity.TransactionName;
import com.dianping.cat.consumer.transaction.model.entity.TransactionReport;
import com.dianping.cat.consumer.transaction.model.entity.TransactionType;










public abstract class BaseVisitor
  implements IVisitor
{
  public void visitAllDuration(AllDuration allDuration) {}

  public void visitDuration(Duration duration) {}

  public void visitGraph(Graph graph) {}

  public void visitGraph2(Graph2 graph2) {}

  public void visitGraphTrend(GraphTrend graphTrend) {}

  public void visitMachine(Machine machine) {
/*  40 */     for (TransactionType type : machine.getTypes().values()) {
/*  41 */       visitType(type);
    }
  }


  public void visitName(TransactionName name) {
/*  47 */     for (Range range : name.getRanges().values()) {
/*  48 */       visitRange(range);
    }

/*  51 */     for (Duration duration : name.getDurations().values()) {
/*  52 */       visitDuration(duration);
    }

/*  55 */     for (Graph graph : name.getGraphs().values()) {
/*  56 */       visitGraph(graph);
    }

/*  59 */     for (AllDuration allDuration : name.getAllDurations().values()) {
/*  60 */       visitAllDuration(allDuration);
    }

/*  63 */     if (name.getGraphTrend() != null) {
/*  64 */       visitGraphTrend(name.getGraphTrend());
    }

/*  67 */     for (StatusCode statusCode : name.getStatusCodes().values()) {
/*  68 */       visitStatusCode(statusCode);
    }
  }


  public void visitRange(Range range) {
/*  74 */     for (AllDuration allDuration : range.getAllDurations().values()) {
/*  75 */       visitAllDuration(allDuration);
    }
  }


  public void visitRange2(Range2 range2) {
/*  81 */     for (AllDuration allDuration : range2.getAllDurations().values()) {
/*  82 */       visitAllDuration(allDuration);
    }
  }



  public void visitStatusCode(StatusCode statusCode) {}


  public void visitTransactionReport(TransactionReport transactionReport) {
/*  92 */     for (Machine machine : transactionReport.getMachines().values()) {
/*  93 */       visitMachine(machine);
    }
  }


  public void visitType(TransactionType type) {
/*  99 */     for (TransactionName name : type.getNames().values()) {
/* 100 */       visitName(name);
    }

/* 103 */     for (Graph2 graph2 : type.getGraph2s().values()) {
/* 104 */       visitGraph2(graph2);
    }

/* 107 */     for (AllDuration allDuration : type.getAllDurations().values()) {
/* 108 */       visitAllDuration(allDuration);
    }

/* 111 */     if (type.getGraphTrend() != null) {
/* 112 */       visitGraphTrend(type.getGraphTrend());
    }

/* 115 */     for (Range2 range2 : type.getRange2s().values())
/* 116 */       visitRange2(range2); 
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-consumer-3.0.0.jar!/com/dianping/cat/consumer/transaction/model/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */